window.onload = function()
{
    count_ciallo=0;
    count_0721=0;
    color = ["red","blue","yellow","purple","green","black","gray"];
}
function ciallo(event){
    var e = event || window.event;     //定位
    var x = e.pageX || e.clientX ;
    var y = e.pageY || e.clientY;

    count_ciallo=count_ciallo+1;        //计数
    document.getElementById("ciallo_cnt").innerHTML="Ciallo～(∠・ω<)⌒★ :"+String(count_ciallo);
    var i = count_ciallo %7;
    document.getElementById("ciallo_cnt").style = "left: 0vw; top:0vw; position: absolute; font-size:2vw;user-select: none;"+"color:"+color[i];


    const music = new Audio('ciallo.mp3');     //音效
    music.play();
    console.log("x",x,"y",y);
    
}


function onani(event){
    var e = event || window.event;     //定位
    var x = e.pageX || e.clientX ;
    var y = e.pageY || e.clientY;

    count_0721=count_0721+1;        //计数
    document.getElementById("0721_cnt").innerHTML="私の0721を見てけダサい :"+String(count_0721);
    var i = count_0721 %7;
    document.getElementById("0721_cnt").style = "left: 0vw; top:3vw; position: absolute; font-size: 2vw;user-select: none;"+"color:"+color[i];


    const music = new Audio('0721.mp3');     //音效
    music.play();
    console.log("x",x,"y",y);
    
}

